<template>
	<div class="drug-order">
		<fs-page>
			<fs-crud ref="crudRef" v-bind="crudBinding"> </fs-crud>
		</fs-page>
	</div>
</template>

<script setup lang="ts">
import { onMounted, ref } from 'vue';
import { createCrudOptions } from './crud';

import { useFs } from '@fast-crud/fast-crud';

defineOptions({
	name: 'DrugOrder',
});

const { crudBinding, crudRef, crudExpose } = useFs({ createCrudOptions });

onMounted(() => {
	crudExpose.doRefresh();
});
</script>

<style lang="scss" scoped></style>
